package com.blrs.service.project.productInfo.impI;

import com.blrs.domain.ContractPaymentMethod;
import com.blrs.domain.ProjectPaymentMethod;
import com.blrs.mapper.ProjectPaymentMethodMapper;
import com.blrs.service.project.productInfo.IProjectPaymentMethodService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-11-30
 */
@Service
public class ProjectPaymentMethodServiceImpl implements IProjectPaymentMethodService
{
    @Autowired
    private ProjectPaymentMethodMapper projectPaymentMethodMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param paymentId 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public ProjectPaymentMethod selectProjectPaymentMethodByPaymentId(String paymentId)
    {
        return projectPaymentMethodMapper.selectProjectPaymentMethodByPaymentId(paymentId);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param projectPaymentMethod 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<ProjectPaymentMethod> selectProjectPaymentMethodList(ProjectPaymentMethod projectPaymentMethod)
    {
        return projectPaymentMethodMapper.selectProjectPaymentMethodList(projectPaymentMethod);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param projectPaymentMethod 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertProjectPaymentMethod(ProjectPaymentMethod projectPaymentMethod)
    {
        return projectPaymentMethodMapper.insertProjectPaymentMethod(projectPaymentMethod);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param projectPaymentMethod 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateProjectPaymentMethod(ProjectPaymentMethod projectPaymentMethod)
    {
        return projectPaymentMethodMapper.updateProjectPaymentMethod(projectPaymentMethod);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param paymentIds 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteProjectPaymentMethodByPaymentIds(String[] paymentIds)
    {
        return projectPaymentMethodMapper.deleteProjectPaymentMethodByPaymentIds(paymentIds);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param paymentId 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteProjectPaymentMethodByPaymentId(String paymentId)
    {
        return projectPaymentMethodMapper.deleteProjectPaymentMethodByPaymentId(paymentId);
    }
    @Override
    public int deleteProjectPaymentMethodByProjectId(String projectId)
    {
        return projectPaymentMethodMapper.deleteProjectPaymentMethodByProjectId(projectId);
    }
}
